package com.lhy.session;


import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
 
public class MySessionListener implements HttpSessionListener {
 
	public void sessionCreated(HttpSessionEvent event) { 
        
		OnlineCounter.raise();
	} 
 
	public void sessionDestroyed(HttpSessionEvent event) { 
		
		OnlineCounter.reduce();
	} 
 
}